package ch04;

import org.junit.Test;

import java.util.Locale;

public class TestJunit {

    private String userName;  //JavaBean

    public String getUserName() {
        return userName;  //#{userName}
    }
    public void setUserName(java.lang.String userName) {
        this.userName = userName;
    }



    @Test
    public void assertNull(){
        String name ="userName";
        String getName = "get";
        getName = getName+name.substring(0,1).toUpperCase()+
                    name.substring(1);

        //User user1=new User()
        //User user2=new User()
        //String name = user1.getName();
        //String name = getName.invoke(user1);
        System.out.println(getName);//user getName
    }
}
